﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Edit.Master" AutoEventWireup="true" CodeBehind="AddAuditTable.aspx.cs" Inherits="Honestysoft.Financing.WebUI.Module.Audit.AddAuditTable" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script language="javascript" type="text/javascript">
        var opts = null;
        function InitRules() {
            opts = {
                 rules:
                 {
					<%= txtCode.UniqueID%>:{required: true},
					<%= numCurAmount.UniqueID%>:{required: true,number: true},
                    <%= numConPerAmount.UniqueID%>:{required: true,number: true}			
                 },
                 messages:
                 {
					<%= txtCode.UniqueID%>:{required: "作业表编号 请输入合适的值"},
					<%= numCurAmount.UniqueID%>:{required: "本笔申请金额 请输入合适的值",number: "本笔申请金额 请输入有效的数字"},
                    <%= numConPerAmount.UniqueID%>:{required: "前期该合同下累计拨付金额 请输入合适的值",number: "前期该合同下累计拨付金额 请输入有效的数字"}
                 },
                 onfocusout:false,
                 onclick:false,
                 onkeyup:false,
                 errorPlacement: function(error, element) {
                    $("#errorContainer").show();
                    error.html("<li>* "+error.html()+"</li>");
                    error.appendTo("#errorContainer");
                 },
                 wrapper:"li"
            }
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table cellpadding="0" width="100%" cellspacing="0" border="1" class="tEdit" style="border-bottom:0px;margin-top:2px;">
            <th style="border-bottom:0px">新增内部审核作业表</th>
        </table>
        <table cellpadding="6" width="100%" cellspacing="0" border="1" class="tEdit">
        <tr>
            <td width="160px" class="title1">所属批次</td><td><asp:TextBox ID="txtBatchNo" Enabled="false" runat="server" cssClass="input2" MaxLength="200" Width="98%"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="title1">所属合同</td><td><asp:TextBox ID="txtContractName" Enabled="false" runat="server" cssClass="input2" MaxLength="200" Width="98%"></asp:TextBox></td>
        </tr>
		<tr>
			<td class="title1">作业表编号</td>
			<td><asp:TextBox ID="txtCode" runat="server" cssClass="input2" MaxLength="200" Width="98%"></asp:TextBox></td>
            
		</tr>
        <tr>
            <td class="title1">本笔申请金额</td>
			<td><asp:TextBox ID="numCurAmount" runat="server" cssClass="input2" onbeforepaste="numboxPaste();" onkeypress="isInt();" Width="98%"></asp:TextBox></td>
        </tr>
		<tr>
            <td class="title1">前期该合同下累计拨<br />付金额(附件5监理意见)</td>
			<td><asp:TextBox ID="numConPerAmount" runat="server" cssClass="input2" onbeforepaste="numboxPaste();" onkeypress="isInt();" Width="98%"></asp:TextBox></td>
        </tr>
    </table>
    <div class="save_area">
            <asp:Button runat="server" ID="btnOK" Text="确定" class="btn_normal" 
                onmouseover="this.className='btn_active'" 
                onmouseout="this.className='btn_normal'" onclick="btnOK_Click"/>
            <input type="button" id="btnExit" value="取消" onclick="javascript:window.returnValue=false;window.close();" class="btn_normal" onmouseover="this.className='btn_active'" onmouseout="this.className='btn_normal'" />
        </div>
</asp:Content>
